/*
 * Copyright MapStruct Authors.
 *
 * Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
 */
package org.mapstruct.ap.test.builtin.mapper;

import org.mapstruct.Mapper;
import org.mapstruct.ap.test.builtin.bean.CalendarProperty;
import org.mapstruct.ap.test.builtin.bean.DatatypeFactory;
import org.mapstruct.ap.test.builtin.bean.DateProperty;
import org.mapstruct.ap.test.builtin.bean.XmlGregorianCalendarFactorizedProperty;
import org.mapstruct.factory.Mappers;

@Mapper( uses = DatatypeFactory.class )
public interface ToXmlGregCalMapper {

    ToXmlGregCalMapper INSTANCE = Mappers.getMapper( ToXmlGregCalMapper.class );

    XmlGregorianCalendarFactorizedProperty map(CalendarProperty source);

    XmlGregorianCalendarFactorizedProperty map(DateProperty source);

}
